Package pl.wendigo.chrome.api.security

Contains DevTools Protocol Security domain implementation accessible via SecurityDomain class.

Types

CertificateErrorAction
Link copied to clipboard
enum CertificateErrorAction : Enum<CertificateErrorAction>
The action to take when a certificate error occurs.
CertificateErrorEvent
Link copied to clipboard
data class CertificateErrorEvent(eventId: Int, errorType: String, requestURL: String) : Event
There is a certificate error.
CertificateId
Link copied to clipboard
typealias CertificateId = Int

An internal certificate ID value.

CertificateSecurityState
Link copied to clipboard
data class CertificateSecurityState(protocol: String, keyExchange: String, keyExchangeGroup: String?, cipher: String, mac: String?, certificate: List<String>, subjectName: String, issuer: String, validFrom: TimeSinceEpoch, validTo: TimeSinceEpoch, certificateNetworkError: String?, certificateHasWeakSignature: Boolean, certificateHasSha1Signature: Boolean, modernSSL: Boolean, obsoleteSslProtocol: Boolean, obsoleteSslKeyExchange: Boolean, obsoleteSslCipher: Boolean, obsoleteSslSignature: Boolean)
Details about the security state of the page certificate.
HandleCertificateErrorRequest
Link copied to clipboard
data class HandleCertificateErrorRequest(eventId: Int, action: CertificateErrorAction)
Represents request frame that can be used with Security#handleCertificateError operation call.
InsecureContentStatus
Link copied to clipboard
data class InsecureContentStatus(ranMixedContent: Boolean, displayedMixedContent: Boolean, containedMixedForm: Boolean, ranContentWithCertErrors: Boolean, displayedContentWithCertErrors: Boolean, ranInsecureContentStyle: SecurityState, displayedInsecureContentStyle: SecurityState)
Information about insecure content on the page.
MixedContentType
Link copied to clipboard
enum MixedContentType : Enum<MixedContentType>
A description of mixed content (HTTP resources on HTTPS pages), as defined by https://www.w3.
SafetyTipInfo
Link copied to clipboard
data class SafetyTipInfo(safetyTipStatus: SafetyTipStatus, safeUrl: String?)
SafetyTipStatus
Link copied to clipboard
enum SafetyTipStatus : Enum<SafetyTipStatus>
SecurityDomain
Link copied to clipboard
class SecurityDomain : Domain
Security
SecurityState
Link copied to clipboard
enum SecurityState : Enum<SecurityState>
The security level of a page or resource.
SecurityStateChangedEvent
Link copied to clipboard
data class SecurityStateChangedEvent(securityState: SecurityState, schemeIsCryptographic: Boolean, explanations: List<SecurityStateExplanation>, insecureContentStatus: InsecureContentStatus, summary: String?) : Event
The security state of the page changed.
SecurityStateExplanation
Link copied to clipboard
data class SecurityStateExplanation(securityState: SecurityState, title: String, summary: String, description: String, mixedContentType: MixedContentType, certificate: List<String>, recommendations: List<String>?)
An explanation of an factor contributing to the security state.
SetIgnoreCertificateErrorsRequest
Link copied to clipboard
data class SetIgnoreCertificateErrorsRequest(ignore: Boolean)
Represents request frame that can be used with Security#setIgnoreCertificateErrors operation call.
SetOverrideCertificateErrorsRequest
Link copied to clipboard
data class SetOverrideCertificateErrorsRequest(override: Boolean)
Represents request frame that can be used with Security#setOverrideCertificateErrors operation call.
VisibleSecurityState
Link copied to clipboard
data class VisibleSecurityState(securityState: SecurityState, certificateSecurityState: CertificateSecurityState?, safetyTipInfo: SafetyTipInfo?, securityStateIssueIds: List<String>)
Security state information about the page.
VisibleSecurityStateChangedEvent
Link copied to clipboard
data class VisibleSecurityStateChangedEvent(visibleSecurityState: VisibleSecurityState) : Event
The security state of the page changed.